//
//  PickerViewCell.m
//  WisdomSite
//
//  Created by 戴伟 on 2018/7/13.
//  Copyright © 2018年 董亚杰. All rights reserved.
//

#import "PickerViewCell.h"

@implementation PickerViewCell

-(instancetype)init{
    if (self = [super init]) {
        [self setupUI];
    }
    return self;
}

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setupUI];
    }
    return self;
}

-(void)setupUI{
    _textLabel = [UILabel new];
    _textLabel.textColor = BLACKTEXTCOLOR;
    _textLabel.textAlignment = NSTextAlignmentCenter;
    _textLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
    [self addSubview:_textLabel];
    [_textLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.mas_offset(0);
    }];
}

@end
